package com.boco.transnms.server.bo.ibo.workflow;

import com.boco.transnms.common.dto.misc.WfAttach;
import com.boco.transnms.common.dto.base.BoActionContext;
import com.boco.common.util.except.UserException;
import com.boco.transnms.common.dto.base.DboCollection;
import com.boco.transnms.common.dto.base.DboBlob;
import java.util.List;
import com.boco.transnms.common.dto.workflow.WfIdHref;
import com.boco.transnms.common.dto.Sign;

public interface IWfGenBO {
    //DboCollection getWorkList(BoQueryContext queryContext, HashMap map) throws UserException;
    void addDbo(BoActionContext context,WfAttach dbo) throws UserException ;
    void modifyBlob(BoActionContext context,String tableName, String blobFieldName, DboBlob blob,String sqlCond) throws UserException ;
    void delAttachFile(BoActionContext context,String sql) throws UserException ;
    DboCollection getAttachFile(BoActionContext context,String sql,WfAttach obj) throws UserException ;
    DboCollection getAttachOutlines(BoActionContext context,String sql,WfAttach obj) throws UserException ;
    WfIdHref[] getAttachOutlines(BoActionContext dbContext, String attachIds[]) throws Exception;
    DboCollection getAttachIds(BoActionContext context,String sql,WfAttach obj) throws UserException ;
    List getAttachIds(BoActionContext dbContext, String sheetId) throws Exception ;
    WfIdHref[] getSignOutlines(BoActionContext dbContext, String sheetId, long type) throws Exception ;
    Sign getAppApproveSign(BoActionContext dbContext, String sheetId) throws Exception;
}
